<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <device-slurryscraper-monitor :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="历史数据">
        <device-slurryscraper-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="电流监测">
        <device-slurryscraper-data-current :data="data" />
      </a-tab-pane>
      <a-tab-pane key="4" tab="设备状态">
        <device-slurryscraper-state :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="每日耗电量">
        <device-slurryscraper-day-consumption :data="data" />
      </a-tab-pane>
      <a-tab-pane key="6" tab="每日刮粪次数">
        <device-slurryscraper-day-calen :data="data" />
      </a-tab-pane>
      <a-tab-pane key="7" tab="每日刮粪耗电统计">
        <device-slurryscraper-day-calen-consumption :data="data" />
      </a-tab-pane>
      <a-tab-pane key="8" tab="每次刮粪耗电统计">
        <device-slurryscraper-timescount-consumption :data="data" />
      </a-tab-pane>
      <a-tab-pane key="9" tab="告警数据">
        <device-slurryscraper-alarm :data="data" />
      </a-tab-pane>
      <a-tab-pane key="10" tab="全局控制">
        <device-slurryscraper-config-switch :data="data" />
      </a-tab-pane>
      <a-tab-pane key="11" tab="参数设置">
        <device-slurryscraper-config-modeconfig :data="data" />
      </a-tab-pane>
      <a-tab-pane key="12" tab="其他设置">
        <device-slurryscraper-config-other :data="data" />
      </a-tab-pane>
      <a-tab-pane key="13" tab="推送情况">
        <device-slurryscraper-config-queue :data="data" />
      </a-tab-pane>
      <a-tab-pane key="14" tab="固件升级">
        <device-slurryscraper-firmware-upgrade  :data="data" />
      </a-tab-pane>
      <a-tab-pane key="15" tab="告警设置">
        <device-slurryscraper-warn-config  :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DeviceSlurryscraperMonitor from './slurryscraper-monitor.vue'
import DeviceSlurryscraperData from './slurryscraper-data.vue'
import DeviceSlurryscraperState from './slurryscraper-state.vue'
import DeviceSlurryscraperAlarm from './slurryscraper-alarm.vue'
import DeviceSlurryscraperConfigSwitch from './slurryscraper-config-switch.vue'
import DeviceSlurryscraperConfigModeconfig from './slurryscraper-config-modeconfig.vue'
import DeviceSlurryscraperConfigOther from './slurryscraper-config-other.vue'
import DeviceSlurryscraperConfigQueue from './slurryscraper-config-queue.vue'
import DeviceSlurryscraperFirmwareUpgrade from './slurryscraper-firmware-upgrade.vue'
import DeviceSlurryscraperDayConsumption from './slurryscraper-day-consumption.vue'
import DeviceSlurryscraperDayCalen from './slurryscraper-day-calen.vue'
import DeviceSlurryscraperDayCalenConsumption from './slurryscraper-day-calen-consumption.vue'
import DeviceSlurryscraperTimescountConsumption from './slurryscraper-timescount-consumption.vue'
import DeviceSlurryscraperDataCurrent from './slurryscraper-data-current.vue'
import DeviceSlurryscraperWarnConfig from './slurryscraper-warn-config.vue'
export default {
  name: 'DeviceSlurryscraper',
  components: {
    DeviceSlurryscraperMonitor,
    DeviceSlurryscraperData,
    DeviceSlurryscraperState,
    DeviceSlurryscraperAlarm,
    DeviceSlurryscraperConfigSwitch,
    DeviceSlurryscraperConfigModeconfig,
    DeviceSlurryscraperConfigOther,
    DeviceSlurryscraperConfigQueue,
    DeviceSlurryscraperFirmwareUpgrade,
    DeviceSlurryscraperDayConsumption,
    DeviceSlurryscraperDayCalen,
    DeviceSlurryscraperDayCalenConsumption,
    DeviceSlurryscraperTimescountConsumption,
    DeviceSlurryscraperDataCurrent,
    DeviceSlurryscraperWarnConfig
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
